CC=gcc

DEBUG=-g -ggdb3
OPTIM=-O0

INCLUDE_FLAGS= -I . \

CFLAGS= $(DEBUG) $(OPTIM) -Wall 
LINKER_FLAGS= 
#gprof: (both: linker and compiler)
#-pg 

OBJ_FILES=
MAIN_FILES= file2c.o

all: file2c 

file2c : $(OBJ_FILES) $(MAIN_FILES)
	$(CC) -o file2c file2c.o $(OBJ_FILES) $(LINKER_FLAGS)

%.o : %.c Makefile
	$(CC) -c $(CFLAGS) $(INCLUDE_FLAGS) $< -o $@

clean :
	rm $(OBJ_FILES) $(MAIN_FILES) file2c
